/**
 * 
 */
package admin.mode;

import java.util.ArrayList;
import java.util.HashMap;

import base.Power;


/**
 * @author qsj
 *
 */
public class ChannelMode {
	public ArrayList<?> getTypeListById(Power power,String id) throws Exception{
		String sql = "select * from houseclub_channel where pid="+id;
		return power.getListFromSql(sql);
	}
	
	public HashMap<?, ?> getTypeMapById(Power power,AdminMode admin,String id) throws Exception{
		String sql = "select * from houseclub_channel where id="+id;
		return power.getMapFromSql(sql);
	}
}
